$(function(){
    //页面引入
    var includeNum = 0;
    $('[include]').each(function () {
        var othis = $(this);
        var url = othis.attr('include');

        othis.load(url, function () {
            includeNum ++;
            if(includeNum==$('[include]').length){
                if(typeof includeFun === 'function') includeFun();
            }
        });
    });

});